package com.secxiot.provider.user.dto;

import lombok.*;

import java.io.Serializable;

/**
 * 部门Dto
 */
@Data
@Builder
@ToString
public class DeptDto implements Serializable {
    private static final long serialVersionUID = 8602944723914146647L;

    private Long deptId;

    /**
     * 上级部门ID，一级部门为0
     */
    private Long parentId;

    /**
     * 部门名称
     */
    private String name;

    private String supperIds;

    /**
     * 部门级别，0为根节点
     */
    private Integer deptLevel;

    private Integer leafNode;

    private Long managerId;

    private String managerName;

}
